Introduce MaybeCompareFn trait to allow for partial compare specializations#768
Introduce MaybeCompareFn trait to allow for partial compare specializations#768
Conversation
| }; | ||
|
|
||
| Ok(Array::from_arrow(&boolean_array, true)) | ||
| None |
There was a problem hiding this comment.
We could centralize the Arrow Array<->Scalar compute here since the entry function will swap the arguments for us.
|
If there are no objections, I can start building on top of this PR. I think the general approach is good and we can start focusing on combinations we can/want to specialize. |
|
@gatesn IIRC we had talked a couple months back about adding the storage DType to ExtensionDType. It makes sense to me that an ExtensionDType is just a logical type with some associated metadata. This still preserves flexibility of the physical encoding. I'd be a fan of adding the storage type into the ExtensionDType. |
|
The problem is, that means we would have to use e.g. int64 as the storage type for all date times, regardless of the unit. In our Python prototype with had an IntWidthArray that allowed you to "reinterpret cast" a narrower int type into a wider one, e.g. you could zero-copy from Arrow an int32 array but pretend that it's int64 in Vortex. It would be kind of weird to canonicalize back to Arrow by somehow introspecting this though... |
|
Ah, I had already thought of this: https://github.com/spiraldb/vortex/blob/0c4d74eb7afa359775493dea8d8de77841e727f5/vortex-scalar/src/extension.rs#L9-L10 There's something appealing about not prescribing the storage type in the DType. If we add it into the ExtScalar (it is already part of the ExtArray), then we have enough information in the right places. |
|
I thought the storage type of the extdtype was the canonicalized storage type, and not required storage type? |
| let constant = rhs.slice(0, 1)?.clone(); | ||
| let arrow_rhs = constant.into_canonical()?.into_arrow()?; | ||
|
|
||
| match arrow_lhs.data_type() { |
There was a problem hiding this comment.
you could compare the View types here
There was a problem hiding this comment.
Oh but this is us being converted into arrow, ignore me. We should have a test though that this still works once we change canonicalization
370dc52 to
9b1cfe0
Compare
b0524de to
17d5dc9
Compare
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [org.apache.arrow:arrow-memory-netty](https://arrow.apache.org/) ([source](https://redirect.github.com/apache/arrow-java)) | `18.3.0` → `19.0.0` |  |  | | [org.apache.arrow:arrow-memory-core](https://arrow.apache.org/) ([source](https://redirect.github.com/apache/arrow-java)) | `18.3.0` → `19.0.0` |  |  | | [org.apache.arrow:arrow-c-data](https://arrow.apache.org/) ([source](https://redirect.github.com/apache/arrow-java)) | `18.3.0` → `19.0.0` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/357) for more information. --- ### Release Notes <details> <summary>apache/arrow-java (org.apache.arrow:arrow-memory-netty)</summary> ### [`v19.0.0`](https://redirect.github.com/apache/arrow-java/releases/tag/v19.0.0): Apache Arrow Java 19.0.0 <!-- Release notes generated using configuration in .github/release.yml at v19.0.0 --> ##### What's Changed ##### Breaking Changes - [GH-774](https://redirect.github.com/apache/arrow-java/issues/774): Consoliate `BitVectorHelper.getValidityBufferSize` and `BaseValueVector.getValidityBufferSizeFromCount` by [@​rtadepalli](https://redirect.github.com/rtadepalli) in [#​775](https://redirect.github.com/apache/arrow-java/pull/775) - [GH-586](https://redirect.github.com/apache/arrow-java/issues/586): Override fixedSizeBinary method for UnionMapWriter by [@​axreldable](https://redirect.github.com/axreldable) in [#​885](https://redirect.github.com/apache/arrow-java/pull/885) - [GH-891](https://redirect.github.com/apache/arrow-java/issues/891): Add ExtensionTypeWriterFactory to TransferPair by [@​jhrotko](https://redirect.github.com/jhrotko) in [#​892](https://redirect.github.com/apache/arrow-java/pull/892) - [GH-948](https://redirect.github.com/apache/arrow-java/issues/948): Use buffer indexing for UUID vector by [@​jhrotko](https://redirect.github.com/jhrotko) in [#​949](https://redirect.github.com/apache/arrow-java/pull/949) - [GH-139](https://redirect.github.com/apache/arrow-java/issues/139): \[Flight] Stop return null from MetadataAdapter.getAll(String) and getAllByte(String) by [@​axreldable](https://redirect.github.com/axreldable) in [#​1016](https://redirect.github.com/apache/arrow-java/pull/1016) ##### New Features and Enhancements - [GH-52](https://redirect.github.com/apache/arrow-java/issues/52): Make RangeEqualsVisitor of RunEndEncodedVector more efficient by [@​ViggoC](https://redirect.github.com/ViggoC) in [#​761](https://redirect.github.com/apache/arrow-java/pull/761) - [GH-765](https://redirect.github.com/apache/arrow-java/issues/765): Do not close/free imported BaseStruct objects by [@​pepijnve](https://redirect.github.com/pepijnve) in [#​766](https://redirect.github.com/apache/arrow-java/pull/766) - [GH-79](https://redirect.github.com/apache/arrow-java/issues/79): Move `splitAndTransferValidityBuffer` to `BaseValueVector` by [@​rtadepalli](https://redirect.github.com/rtadepalli) in [#​777](https://redirect.github.com/apache/arrow-java/pull/777) - [GH-731](https://redirect.github.com/apache/arrow-java/issues/731): Avro adapter, output dictionary-encoded fields as enums by [@​martin-traverse](https://redirect.github.com/martin-traverse) in [#​779](https://redirect.github.com/apache/arrow-java/pull/779) - [GH-725](https://redirect.github.com/apache/arrow-java/issues/725): Added ExtensionReader by [@​xxlaykxx](https://redirect.github.com/xxlaykxx) in [#​726](https://redirect.github.com/apache/arrow-java/pull/726) - [GH-882](https://redirect.github.com/apache/arrow-java/issues/882): Add support for loading native library from a user specified location by [@​pepijnve](https://redirect.github.com/pepijnve) in [#​883](https://redirect.github.com/apache/arrow-java/pull/883) - [GH-109](https://redirect.github.com/apache/arrow-java/issues/109): Implement Vector Validators for StringView by [@​ViggoC](https://redirect.github.com/ViggoC) in [#​886](https://redirect.github.com/apache/arrow-java/pull/886) - [GH-900](https://redirect.github.com/apache/arrow-java/issues/900): Fix gandiva groupId in arrow-bom by [@​XN137](https://redirect.github.com/XN137) in [#​901](https://redirect.github.com/apache/arrow-java/pull/901) - [GH-762](https://redirect.github.com/apache/arrow-java/issues/762): Implement VectorAppender for RunEndEncodedVector by [@​ViggoC](https://redirect.github.com/ViggoC) in [#​884](https://redirect.github.com/apache/arrow-java/pull/884) - [GH-825](https://redirect.github.com/apache/arrow-java/issues/825): Add UUID canonical extension type by [@​jhrotko](https://redirect.github.com/jhrotko) in [#​903](https://redirect.github.com/apache/arrow-java/pull/903) - [GH-110](https://redirect.github.com/apache/arrow-java/issues/110): Flight SQL JDBC related StringView components implementation by [@​ViggoC](https://redirect.github.com/ViggoC) in [#​905](https://redirect.github.com/apache/arrow-java/pull/905) - [GH-863](https://redirect.github.com/apache/arrow-java/issues/863): \[JDBC] Suppress benign exceptions from gRPC layer on ArrowFlightSqlClientHandler#close by [@​ennuite](https://redirect.github.com/ennuite) in [#​910](https://redirect.github.com/apache/arrow-java/pull/910) - [GH-929](https://redirect.github.com/apache/arrow-java/issues/929): Add UUID support in JDBC driver by [@​xborder](https://redirect.github.com/xborder) in [#​930](https://redirect.github.com/apache/arrow-java/pull/930) - [GH-952](https://redirect.github.com/apache/arrow-java/issues/952): Add OAuth support by [@​xborder](https://redirect.github.com/xborder) in [#​953](https://redirect.github.com/apache/arrow-java/pull/953) - [GH-946](https://redirect.github.com/apache/arrow-java/issues/946): Add Variant extension type support by [@​tmater](https://redirect.github.com/tmater) in [#​947](https://redirect.github.com/apache/arrow-java/pull/947) - [GH-130](https://redirect.github.com/apache/arrow-java/issues/130): Fix AutoCloseables to work with [@​Nullable](https://redirect.github.com/Nullable) structures by [@​axreldable](https://redirect.github.com/axreldable) in [#​1017](https://redirect.github.com/apache/arrow-java/pull/1017) - [GH-1038](https://redirect.github.com/apache/arrow-java/issues/1038): Trim object memory for ArrowBuf by [@​lriggs](https://redirect.github.com/lriggs) in [#​1044](https://redirect.github.com/apache/arrow-java/pull/1044) - [GH-1061](https://redirect.github.com/apache/arrow-java/issues/1061): Add codegen classifier jar for arrow-vector. by [@​lriggs](https://redirect.github.com/lriggs) in [#​1062](https://redirect.github.com/apache/arrow-java/pull/1062) - [GH-301](https://redirect.github.com/apache/arrow-java/issues/301): \[Vector] Allow adding a vector at the end of VectorSchemaRoot by [@​axreldable](https://redirect.github.com/axreldable) in [#​1013](https://redirect.github.com/apache/arrow-java/pull/1013) - [GH-552](https://redirect.github.com/apache/arrow-java/issues/552): \[Vector] Add absent methods to the UnionFixedSizeListWriter by [@​axreldable](https://redirect.github.com/axreldable) in [#​1052](https://redirect.github.com/apache/arrow-java/pull/1052) ##### Bug Fixes - MINOR: add missing SOURCE\_DIR in dev/release/release.sh by [@​wgtmac](https://redirect.github.com/wgtmac) in [#​755](https://redirect.github.com/apache/arrow-java/pull/755) - MINOR: Empty stream double check by [@​adampolomski](https://redirect.github.com/adampolomski) in [#​742](https://redirect.github.com/apache/arrow-java/pull/742) - [GH-759](https://redirect.github.com/apache/arrow-java/issues/759): Get length of byte\[] in TryCopyLastError by [@​hnwyllmm](https://redirect.github.com/hnwyllmm) in [#​760](https://redirect.github.com/apache/arrow-java/pull/760) - [GH-899](https://redirect.github.com/apache/arrow-java/issues/899): \[Dataset] Initialize compute module by [@​lidavidm](https://redirect.github.com/lidavidm) in [#​893](https://redirect.github.com/apache/arrow-java/pull/893) - [GH-399](https://redirect.github.com/apache/arrow-java/issues/399): Check for null writers in DenseUnionWriter#setPosition by [@​Kaustav-Sarkar](https://redirect.github.com/Kaustav-Sarkar) in [#​938](https://redirect.github.com/apache/arrow-java/pull/938) - [GH-942](https://redirect.github.com/apache/arrow-java/issues/942): Fix JDBC Connection.setCatalog() by [@​eickler](https://redirect.github.com/eickler) in [#​943](https://redirect.github.com/apache/arrow-java/pull/943) - [GH-951](https://redirect.github.com/apache/arrow-java/issues/951): Fix CI completely, especially JNI on Windows 2022 and MacOS platforms by [@​jbonofre](https://redirect.github.com/jbonofre) in [#​925](https://redirect.github.com/apache/arrow-java/pull/925) - MINOR: Add private constructor to UuidType singleton by [@​tmater](https://redirect.github.com/tmater) in [#​945](https://redirect.github.com/apache/arrow-java/pull/945) - [GH-964](https://redirect.github.com/apache/arrow-java/issues/964): Fix IndexOutOfBoundsException in Array.getResultSet() for JDBC clients by [@​xborder](https://redirect.github.com/xborder) in [#​965](https://redirect.github.com/apache/arrow-java/pull/965) - [GH-932](https://redirect.github.com/apache/arrow-java/issues/932): \[JDBC] Fix memory leak on Connection#close due to unclosed Statement(s) by [@​ennuite](https://redirect.github.com/ennuite) in [#​933](https://redirect.github.com/apache/arrow-java/pull/933) - [GH-125](https://redirect.github.com/apache/arrow-java/issues/125): Allow null timestamp holder sans timezone by [@​Kaustav-Sarkar](https://redirect.github.com/Kaustav-Sarkar) in [#​941](https://redirect.github.com/apache/arrow-java/pull/941) - [GH-343](https://redirect.github.com/apache/arrow-java/issues/343): Fix ListVector offset buffer not properly serialized for nested empty arrays by [@​Yicong-Huang](https://redirect.github.com/Yicong-Huang) in [#​967](https://redirect.github.com/apache/arrow-java/pull/967) - [GH-990](https://redirect.github.com/apache/arrow-java/issues/990): \[JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s) by [@​ennuite](https://redirect.github.com/ennuite) in [#​991](https://redirect.github.com/apache/arrow-java/pull/991) - [GH-993](https://redirect.github.com/apache/arrow-java/issues/993): Fix missing pipe in milestone assignment script by [@​tmater](https://redirect.github.com/tmater) in [#​992](https://redirect.github.com/apache/arrow-java/pull/992) - [GH-470](https://redirect.github.com/apache/arrow-java/issues/470): \[Vector] Fix ListViewVector.getElementEndIndex(index) method by [@​axreldable](https://redirect.github.com/axreldable) in [#​1019](https://redirect.github.com/apache/arrow-java/pull/1019) - [GH-1007](https://redirect.github.com/apache/arrow-java/issues/1007): fix: does not break class loading if direct buffer allocator is not available by [@​torito](https://redirect.github.com/torito) in [#​1008](https://redirect.github.com/apache/arrow-java/pull/1008) - [GH-994](https://redirect.github.com/apache/arrow-java/issues/994): Fix DatabaseMetaData NPEs when SqlInfo is unavailable by [@​ennuite](https://redirect.github.com/ennuite) in [#​995](https://redirect.github.com/apache/arrow-java/pull/995) - [GH-1004](https://redirect.github.com/apache/arrow-java/issues/1004): \[JDBC] Fix NPE in ArrowFlightJdbcDriver#connect(final String url, final Properties info) by [@​ennuite](https://redirect.github.com/ennuite) in [#​1005](https://redirect.github.com/apache/arrow-java/pull/1005) - [GH-343](https://redirect.github.com/apache/arrow-java/issues/343): Fix BaseVariableWidthVector and BaseLargeVariableWidthVector offset buffer serialization by [@​Yicong-Huang](https://redirect.github.com/Yicong-Huang) in [#​989](https://redirect.github.com/apache/arrow-java/pull/989) ##### Other Changes - MINOR: Bump checker.framework.version from 3.49.2 to 3.49.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​752](https://redirect.github.com/apache/arrow-java/pull/752) - MINOR: Bump com.google.api.grpc:proto-google-common-protos from 2.54.1 to 2.56.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​750](https://redirect.github.com/apache/arrow-java/pull/750) - MINOR: Bump com.github.ben-manes.caffeine:caffeine from 3.1.8 to 3.2.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​747](https://redirect.github.com/apache/arrow-java/pull/747) - MINOR: Bump version to 19.0.0-SNAPSHOT by [@​wgtmac](https://redirect.github.com/wgtmac) in [#​754](https://redirect.github.com/apache/arrow-java/pull/754) - [GH-768](https://redirect.github.com/apache/arrow-java/issues/768): Use apache/arrow-js for JS in integration test by [@​kou](https://redirect.github.com/kou) in [#​769](https://redirect.github.com/apache/arrow-java/pull/769) - [GH-770](https://redirect.github.com/apache/arrow-java/issues/770): Ensure updating Homebrew Python on macos-13 by [@​kou](https://redirect.github.com/kou) in [#​771](https://redirect.github.com/apache/arrow-java/pull/771) - [GH-70](https://redirect.github.com/apache/arrow-java/issues/70): Move from `hamcrest` to `assertj` in `flight-sql` by [@​rtadepalli](https://redirect.github.com/rtadepalli) in [#​772](https://redirect.github.com/apache/arrow-java/pull/772) - MINOR: Add missing permission to milestone assignment bot by [@​lidavidm](https://redirect.github.com/lidavidm) in [#​673](https://redirect.github.com/apache/arrow-java/pull/673) - MINOR: Bump com.gradle:common-custom-user-data-maven-extension from 2.0.1 to 2.0.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​785](https://redirect.github.com/apache/arrow-java/pull/785) - MINOR: Bump io.grpc:grpc-bom from 1.71.0 to 1.73.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​781](https://redirect.github.com/apache/arrow-java/pull/781) - MINOR: Fix format by [@​lidavidm](https://redirect.github.com/lidavidm) in [#​809](https://redirect.github.com/apache/arrow-java/pull/809) - [GH-804](https://redirect.github.com/apache/arrow-java/issues/804): Prepend JDBC FlightSQL version to user agent by [@​xborder](https://redirect.github.com/xborder) in [#​806](https://redirect.github.com/apache/arrow-java/pull/806) - MINOR: \[CI] Bump actions/cache from 4.2.3 to 4.2.4 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​813](https://redirect.github.com/apache/arrow-java/pull/813) - MINOR: \[CI] Bump docker/login-action from 3.4.0 to 3.5.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​814](https://redirect.github.com/apache/arrow-java/pull/814) - MINOR: \[CI] Bump actions/download-artifact from 4.3.0 to 5.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​815](https://redirect.github.com/apache/arrow-java/pull/815) - [GH-816](https://redirect.github.com/apache/arrow-java/issues/816): Presize JsonStringArrayList vector results by [@​schlosna](https://redirect.github.com/schlosna) in [#​817](https://redirect.github.com/apache/arrow-java/pull/817) - [GH-797](https://redirect.github.com/apache/arrow-java/issues/797): \[JDBC] Fix PreparedStatement#execute for DML/DDL by [@​ennuite](https://redirect.github.com/ennuite) in [#​811](https://redirect.github.com/apache/arrow-java/pull/811) - [GH-841](https://redirect.github.com/apache/arrow-java/issues/841): Use apache/arrow-dotnet for integration test by [@​kou](https://redirect.github.com/kou) in [#​842](https://redirect.github.com/apache/arrow-java/pull/842) - MINOR: \[CI] Bump actions/setup-java from 4.6.0 to 5.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​847](https://redirect.github.com/apache/arrow-java/pull/847) - MINOR: \[CI] Bump actions/setup-python from 5 to 6 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​843](https://redirect.github.com/apache/arrow-java/pull/843) - MINOR: \[CI] Bump actions/github-script from 7.0.1 to 8.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​844](https://redirect.github.com/apache/arrow-java/pull/844) - [GH-858](https://redirect.github.com/apache/arrow-java/issues/858): Fix error handling in CompositeJdbcConsumer by [@​aiguofer](https://redirect.github.com/aiguofer) in [#​857](https://redirect.github.com/apache/arrow-java/pull/857) - [GH-859](https://redirect.github.com/apache/arrow-java/issues/859): Fix ARROW\_STRUCT\_CONFLICT\_POLICY env var by [@​wForget](https://redirect.github.com/wForget) in [#​860](https://redirect.github.com/apache/arrow-java/pull/860) - [GH-836](https://redirect.github.com/apache/arrow-java/issues/836): Added support of ExtensionType for ComplexCopier by [@​xxlaykxx](https://redirect.github.com/xxlaykxx) in [#​837](https://redirect.github.com/apache/arrow-java/pull/837) - [GH-848](https://redirect.github.com/apache/arrow-java/issues/848): TypedValue should be treated as Nullable in bind function in AvaticaParameterBinder by [@​XenoAmess](https://redirect.github.com/XenoAmess) in [#​849](https://redirect.github.com/apache/arrow-java/pull/849) - fix: issue with class names in arrow-c jni calls by [@​milenkovicm](https://redirect.github.com/milenkovicm) in [#​867](https://redirect.github.com/apache/arrow-java/pull/867) - [GH-839](https://redirect.github.com/apache/arrow-java/issues/839): Fix support for ResultSet.getObject for TIMESTAMP\_WITH\_TIMEZONE by [@​aiguofer](https://redirect.github.com/aiguofer) in [#​840](https://redirect.github.com/apache/arrow-java/pull/840) - [GH-880](https://redirect.github.com/apache/arrow-java/issues/880): \[CI] Fix syntax error in `dev_pr.yml` by [@​kou](https://redirect.github.com/kou) in [#​881](https://redirect.github.com/apache/arrow-java/pull/881) - [GH-592](https://redirect.github.com/apache/arrow-java/issues/592): \[Release] Use relative path in .sha\* by [@​kou](https://redirect.github.com/kou) in [#​879](https://redirect.github.com/apache/arrow-java/pull/879) - MINOR: \[CI] Bump docker/login-action from 3.5.0 to 3.6.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​870](https://redirect.github.com/apache/arrow-java/pull/870) - [GH-898](https://redirect.github.com/apache/arrow-java/issues/898): Upgrade to Apache POM 35 and identify fixes needed to have CI happy by [@​jbonofre](https://redirect.github.com/jbonofre) in [#​865](https://redirect.github.com/apache/arrow-java/pull/865) - MINOR: Bump io.netty:netty-bom from 4.1.119.Final to 4.1.127.Final by [@​SirOibaf](https://redirect.github.com/SirOibaf) in [#​855](https://redirect.github.com/apache/arrow-java/pull/855) - MINOR: Bump logback.version from 1.5.18 to 1.5.20 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​897](https://redirect.github.com/apache/arrow-java/pull/897) - MINOR: Bump com.github.luben:zstd-jni from 1.5.7-2 to 1.5.7-6 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​896](https://redirect.github.com/apache/arrow-java/pull/896) - MINOR: \[CI] Bump actions/download-artifact from 5.0.0 to 6.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​895](https://redirect.github.com/apache/arrow-java/pull/895) - MINOR: Bump commons-codec:commons-codec from 1.18.0 to 1.19.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​871](https://redirect.github.com/apache/arrow-java/pull/871) - MINOR: \[CI] Bump actions/checkout from 4 to 5 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​820](https://redirect.github.com/apache/arrow-java/pull/820) - MINOR: \[CI] Bump actions/upload-artifact from 4.6.2 to 5.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​894](https://redirect.github.com/apache/arrow-java/pull/894) - MINOR: Bump checker.framework.version from 3.49.3 to 3.49.5 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​800](https://redirect.github.com/apache/arrow-java/pull/800) - MINOR: Bump error\_prone\_core.version from 2.37.0 to 2.42.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​749](https://redirect.github.com/apache/arrow-java/pull/749) - MINOR: Bump org.apache.orc:orc-core from 2.1.1 to 2.2.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​874](https://redirect.github.com/apache/arrow-java/pull/874) - MINOR: Bump com.google.protobuf:protobuf-bom from 4.30.2 to 4.33.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​888](https://redirect.github.com/apache/arrow-java/pull/888) - MINOR: \[CI] Bump actions/checkout from 5 to 6 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​911](https://redirect.github.com/apache/arrow-java/pull/911) - MINOR: Bump org.codehaus.mojo:versions-maven-plugin from 2.18.0 to 2.20.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​912](https://redirect.github.com/apache/arrow-java/pull/912) - MINOR: Bump org.bouncycastle:bcpkix-jdk18on from 1.80 to 1.82 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​919](https://redirect.github.com/apache/arrow-java/pull/919) - MINOR: Bump org.apache.drill.tools:drill-fmpp-maven-plugin from 1.21.2 to 1.22.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​918](https://redirect.github.com/apache/arrow-java/pull/918) - MINOR: Bump dep.hadoop.version from 3.4.1 to 3.4.2 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​915](https://redirect.github.com/apache/arrow-java/pull/915) - MINOR: \[CI] Bump actions/upload-artifact from 5.0.0 to 6.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​934](https://redirect.github.com/apache/arrow-java/pull/934) - MINOR: \[CI] Bump actions/download-artifact from 6.0.0 to 7.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​935](https://redirect.github.com/apache/arrow-java/pull/935) - MINOR: \[CI] Bump actions/cache from 4 to 5 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​936](https://redirect.github.com/apache/arrow-java/pull/936) - MINOR: Update macos amd64 runner by [@​lidavidm](https://redirect.github.com/lidavidm) in [#​940](https://redirect.github.com/apache/arrow-java/pull/940) - MINOR: Bump checker.framework.version from 3.52.0 to 3.52.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​927](https://redirect.github.com/apache/arrow-java/pull/927) - MINOR: Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​924](https://redirect.github.com/apache/arrow-java/pull/924) - MINOR: Bump org.immutables:value from 2.10.1 to 2.11.7 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​922](https://redirect.github.com/apache/arrow-java/pull/922) - MINOR: Bump com.google.api.grpc:proto-google-common-protos from 2.56.0 to 2.63.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​920](https://redirect.github.com/apache/arrow-java/pull/920) - MINOR: Bump io.netty:netty-bom from 4.1.119.Final to 4.2.7.Final by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​887](https://redirect.github.com/apache/arrow-java/pull/887) - MINOR: Bump parquet.version from 1.15.2 to 1.16.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​913](https://redirect.github.com/apache/arrow-java/pull/913) - MINOR: Bump org.immutables:value-annotations from 2.10.1 to 2.11.7 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​917](https://redirect.github.com/apache/arrow-java/pull/917) - MINOR: Bump logback.version from 1.5.21 to 1.5.24 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​962](https://redirect.github.com/apache/arrow-java/pull/962) - MINOR: Bump org.codehaus.mojo:exec-maven-plugin from 3.5.0 to 3.6.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​959](https://redirect.github.com/apache/arrow-java/pull/959) - MINOR: Bump org.apache.commons:commons-text from 1.13.1 to 1.15.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​956](https://redirect.github.com/apache/arrow-java/pull/956) - MINOR: Bump io.grpc:grpc-bom from 1.73.0 to 1.78.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​958](https://redirect.github.com/apache/arrow-java/pull/958) - MINOR: Bump com.github.ben-manes.caffeine:caffeine from 3.2.0 to 3.2.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​960](https://redirect.github.com/apache/arrow-java/pull/960) - MINOR: Bump org.apache.avro:avro from 1.12.0 to 1.12.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​955](https://redirect.github.com/apache/arrow-java/pull/955) - MINOR: Bump org.bouncycastle:bcpkix-jdk18on from 1.82 to 1.83 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​969](https://redirect.github.com/apache/arrow-java/pull/969) - MINOR: Bump logback.version from 1.5.24 to 1.5.25 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​975](https://redirect.github.com/apache/arrow-java/pull/975) - MINOR: Bump com.fasterxml.jackson:jackson-bom from 2.18.3 to 2.21.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​973](https://redirect.github.com/apache/arrow-java/pull/973) - MINOR: Bump parquet.version from 1.16.0 to 1.17.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​968](https://redirect.github.com/apache/arrow-java/pull/968) - MINOR: Bump commons-io:commons-io from 2.19.0 to 2.21.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​974](https://redirect.github.com/apache/arrow-java/pull/974) - MINOR: Bump com.gradle:develocity-maven-extension from 2.0 to 2.3.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​976](https://redirect.github.com/apache/arrow-java/pull/976) - MINOR: Bump org.apache.orc:orc-core from 2.2.1 to 2.2.2 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​971](https://redirect.github.com/apache/arrow-java/pull/971) - MINOR: Bump org.apache.commons:commons-dbcp2 from 2.13.0 to 2.14.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​983](https://redirect.github.com/apache/arrow-java/pull/983) - MINOR: Bump org.apache.commons:commons-compress from 1.27.1 to 1.28.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​985](https://redirect.github.com/apache/arrow-java/pull/985) - MINOR: Bump org.assertj:assertj-core from 3.27.3 to 3.27.7 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​988](https://redirect.github.com/apache/arrow-java/pull/988) - MINOR: Bump org.apache.commons:commons-pool2 from 2.12.1 to 2.13.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​987](https://redirect.github.com/apache/arrow-java/pull/987) - MINOR: Bump logback.version from 1.5.25 to 1.5.26 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​981](https://redirect.github.com/apache/arrow-java/pull/981) - MINOR: Bump com.google.protobuf:protobuf-bom from 4.33.1 to 4.33.4 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​984](https://redirect.github.com/apache/arrow-java/pull/984) - [GH-1011](https://redirect.github.com/apache/arrow-java/issues/1011): \[Docs] Fix broken Java API reference links in documentation by [@​axreldable](https://redirect.github.com/axreldable) in [#​1012](https://redirect.github.com/apache/arrow-java/pull/1012) - [GH-141](https://redirect.github.com/apache/arrow-java/issues/141): Correct capacity behavior in BufferAllocator.buffer docstrings by [@​axreldable](https://redirect.github.com/axreldable) in [#​1010](https://redirect.github.com/apache/arrow-java/pull/1010) - [GH-1014](https://redirect.github.com/apache/arrow-java/issues/1014): \[Docs] Fix broken and obsolete links in the README.md by [@​axreldable](https://redirect.github.com/axreldable) in [#​1015](https://redirect.github.com/apache/arrow-java/pull/1015) - MINOR: \[Docs] Remove extra line in README.md (fix pre-commit) by [@​axreldable](https://redirect.github.com/axreldable) in [#​1018](https://redirect.github.com/apache/arrow-java/pull/1018) - [GH-1021](https://redirect.github.com/apache/arrow-java/issues/1021): Use released apache/arrow instead of main by [@​kou](https://redirect.github.com/kou) in [#​1022](https://redirect.github.com/apache/arrow-java/pull/1022) - MINOR: Bump org.mockito:mockito-bom from 5.17.0 to 5.21.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1000](https://redirect.github.com/apache/arrow-java/pull/1000) - MINOR: Bump com.gradle:develocity-maven-extension from 2.3.1 to 2.3.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1001](https://redirect.github.com/apache/arrow-java/pull/1001) - MINOR: Bump logback.version from 1.5.26 to 1.5.27 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​999](https://redirect.github.com/apache/arrow-java/pull/999) - MINOR: \[CI] Bump docker/login-action from 3.6.0 to 3.7.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​996](https://redirect.github.com/apache/arrow-java/pull/996) - MINOR: Bump commons-codec:commons-codec from 1.20.0 to 1.21.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​997](https://redirect.github.com/apache/arrow-java/pull/997) - MINOR: Fix minor issue with README by [@​paliwalashish](https://redirect.github.com/paliwalashish) in [#​1026](https://redirect.github.com/apache/arrow-java/pull/1026) - MINOR: Bump commons-cli:commons-cli from 1.9.0 to 1.11.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1028](https://redirect.github.com/apache/arrow-java/pull/1028) - MINOR: Bump org.codehaus.mojo:versions-maven-plugin from 2.20.0 to 2.21.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1029](https://redirect.github.com/apache/arrow-java/pull/1029) - MINOR: Bump com.google.api.grpc:proto-google-common-protos from 2.63.2 to 2.66.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1034](https://redirect.github.com/apache/arrow-java/pull/1034) - MINOR: \[CI] Bump actions/upload-artifact from 6.0.0 to 7.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1045](https://redirect.github.com/apache/arrow-java/pull/1045) - MINOR: Bump checker.framework.version from 3.53.0 to 3.53.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1046](https://redirect.github.com/apache/arrow-java/pull/1046) - MINOR: \[CI] Bump actions/download-artifact from 7.0.0 to 8.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1047](https://redirect.github.com/apache/arrow-java/pull/1047) - MINOR: Bump org.codehaus.mojo:build-helper-maven-plugin from 3.6.0 to 3.6.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1049](https://redirect.github.com/apache/arrow-java/pull/1049) - MINOR: Fix flaky TestBasicAuth memory leak by waiting for async buffer release by [@​jbonofre](https://redirect.github.com/jbonofre) in [#​1058](https://redirect.github.com/apache/arrow-java/pull/1058) - MINOR: Bump org.apache.orc:orc-core from 2.2.2 to 2.3.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1056](https://redirect.github.com/apache/arrow-java/pull/1056) - MINOR: \[CI] Increase JNI macOS job timeout from 45 to 60 minutes by [@​jbonofre](https://redirect.github.com/jbonofre) in [#​1060](https://redirect.github.com/apache/arrow-java/pull/1060) - MINOR: \[CI] Bump docker/login-action from 3.7.0 to 4.0.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1053](https://redirect.github.com/apache/arrow-java/pull/1053) - MINOR: Bump dep.hadoop.version from 3.4.2 to 3.4.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1055](https://redirect.github.com/apache/arrow-java/pull/1055) - MINOR: Bump io.grpc:grpc-bom from 1.78.0 to 1.79.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1048](https://redirect.github.com/apache/arrow-java/pull/1048) - MINOR: Bump com.gradle:common-custom-user-data-maven-extension from 2.0.3 to 2.1.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​998](https://redirect.github.com/apache/arrow-java/pull/998) - MINOR: Bump version to 19.0.0 by [@​jbonofre](https://redirect.github.com/jbonofre) in [#​1066](https://redirect.github.com/apache/arrow-java/pull/1066) ##### New Contributors - [@​adampolomski](https://redirect.github.com/adampolomski) made their first contribution in [#​742](https://redirect.github.com/apache/arrow-java/pull/742) - [@​rtadepalli](https://redirect.github.com/rtadepalli) made their first contribution in [#​772](https://redirect.github.com/apache/arrow-java/pull/772) - [@​xborder](https://redirect.github.com/xborder) made their first contribution in [#​806](https://redirect.github.com/apache/arrow-java/pull/806) - [@​schlosna](https://redirect.github.com/schlosna) made their first contribution in [#​817](https://redirect.github.com/apache/arrow-java/pull/817) - [@​ennuite](https://redirect.github.com/ennuite) made their first contribution in [#​811](https://redirect.github.com/apache/arrow-java/pull/811) - [@​wForget](https://redirect.github.com/wForget) made their first contribution in [#​860](https://redirect.github.com/apache/arrow-java/pull/860) - [@​XenoAmess](https://redirect.github.com/XenoAmess) made their first contribution in [#​849](https://redirect.github.com/apache/arrow-java/pull/849) - [@​milenkovicm](https://redirect.github.com/milenkovicm) made their first contribution in [#​867](https://redirect.github.com/apache/arrow-java/pull/867) - [@​XN137](https://redirect.github.com/XN137) made their first contribution in [#​901](https://redirect.github.com/apache/arrow-java/pull/901) - [@​SirOibaf](https://redirect.github.com/SirOibaf) made their first contribution in [#​855](https://redirect.github.com/apache/arrow-java/pull/855) - [@​axreldable](https://redirect.github.com/axreldable) made their first contribution in [#​885](https://redirect.github.com/apache/arrow-java/pull/885) - [@​jhrotko](https://redirect.github.com/jhrotko) made their first contribution in [#​903](https://redirect.github.com/apache/arrow-java/pull/903) - [@​Kaustav-Sarkar](https://redirect.github.com/Kaustav-Sarkar) made their first contribution in [#​938](https://redirect.github.com/apache/arrow-java/pull/938) - [@​eickler](https://redirect.github.com/eickler) made their first contribution in [#​943](https://redirect.github.com/apache/arrow-java/pull/943) - [@​tmater](https://redirect.github.com/tmater) made their first contribution in [#​945](https://redirect.github.com/apache/arrow-java/pull/945) - [@​Yicong-Huang](https://redirect.github.com/Yicong-Huang) made their first contribution in [#​967](https://redirect.github.com/apache/arrow-java/pull/967) - [@​paliwalashish](https://redirect.github.com/paliwalashish) made their first contribution in [#​1026](https://redirect.github.com/apache/arrow-java/pull/1026) - [@​torito](https://redirect.github.com/torito) made their first contribution in [#​1008](https://redirect.github.com/apache/arrow-java/pull/1008) **Full Changelog**: <apache/arrow-java@v18.3.0...v19.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vortex-data/vortex). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJjaGFuZ2Vsb2cvY2hvcmUiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Currently an array needs to statically decide if it supports a compute function, prior to seeing the RHS or other arguments.
This change allows the array's compute function to see the RHS, and then decide it doesn't support the operation, enabling easier fallback.
This is only implemented for compare.
It has also highlighted the need for storage DType information to be available to an ExtScalar. Either by adding it to ExtDType, or adding it directly into that scalar variant. @a10y keen for your thoughts
Notes by @AdamGS:
To follow up @gatesn's work here, I added some other things to this PR:
MaybeCompareFnimplementation that shows how the new interface looks